package com.hzqy.web.login;

import java.util.Observable;

import javax.servlet.http.HttpServletRequest;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;


public class JumpUrlSession extends ObserverFather {
	private static final Log LOG = LogFactory.getLog(JumpUrlSession.class);

	public JumpUrlSession(HttpServletRequest request) {
		super(request);
	}

	@Override
	public void update(Observable o, Object arg) {
		String jump_url = request.getParameter("jump_url");
		if(jump_url != null && epgInfoVo != null){
			epgInfoVo.setPage_url(jump_url);
			session.setAttribute(SessionKey.SESSION_EPG_URL, jump_url);
			session.setAttribute(SessionKey.SESSION_EPGINFO_VO, epgInfoVo);
		}
	}

}
